package com.igeek.dao;

import com.igeek.entity.Department;
import com.igeek.rowmapper.DepMapper;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

@Repository
public interface DepDao {

    /**
     * 查询所有部门
     * @return
     */
    public List<Department> findAll();
}
